﻿using BusinessLayer.Dal;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Biz
{
    public class ReceiptDetail
    {
        public int Id { get; set; }
        public int Quantity { get; set; }
        public int Price { get; set; }
        public virtual Product Product { get; set; }
        public virtual ReceiptNote ReceiptNote { get; set; }
        ReceiptDetailDal dal = new ReceiptDetailDal();
        public void Insert()
        {
            dal.Insert(this);
        }
    }
}